package com.himalayan.bear.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.himalayan.bear.dao.UserFileMapper;
import com.himalayan.bear.entity.UserFile;
import com.himalayan.bear.service.UserFileService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author zjk
 * @since 2019-04-25
 */
@Service
public class UserFileServiceImpl extends ServiceImpl<UserFileMapper, UserFile> implements UserFileService {

    @Override
    public List<Map<String, Object>> listAll(String parentId, String userId) {
        return baseMapper.listAll(parentId, userId);
    }
}
